package cn.tedu.zhxy.service;

import cn.tedu.zhxy.dto.LoginDTO;
import cn.tedu.zhxy.entity.Teacher;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2022-07-20
 */
public interface TeacherService extends IService<Teacher> {

    Teacher login(LoginDTO loginDTO);

    IPage<Teacher> selectTeacher(Page<Teacher> pageParam, Teacher teacher);
}
